package com.esd.crm.entity;

import java.util.Arrays;
import java.util.Date;

public class DocInformation {

    private String id;

    private Date createTime;

    private String createBy;

    private Date updateTime;

    private String updateBy;

    private Boolean isActive;

    private Integer version;

    private String remark;

    private String fileName;

    private String originalFileName;

    private Long length;

    private String fileSuffix;

    private String businessId;

    private byte[] file;
    
    
    

    @Override
	public String toString() {
		return "DocInformation [id=" + id + ", createTime=" + createTime + ", createBy=" + createBy + ", updateTime="
				+ updateTime + ", updateBy=" + updateBy + ", isActive=" + isActive + ", version=" + version
				+ ", remark=" + remark + ", fileName=" + fileName + ", originalFileName=" + originalFileName
				+ ", length=" + length + ", fileSuffix=" + fileSuffix + ", businessId=" + businessId + ", file="
				+ Arrays.toString(file) + "]";
	}

	public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column docinformation.create_time
     *
     * @param createTime the value for docinformation.create_time
     *
     * @mbg.generated Thu Mar 07 11:03:43 CST 2019
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column docinformation.create_by
     *
     * @return the value of docinformation.create_by
     *
     * @mbg.generated Thu Mar 07 11:03:43 CST 2019
     */
    public String getCreateBy() {
        return createBy;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column docinformation.create_by
     *
     * @param createBy the value for docinformation.create_by
     *
     * @mbg.generated Thu Mar 07 11:03:43 CST 2019
     */
    public void setCreateBy(String createBy) {
        this.createBy = createBy == null ? null : createBy.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column docinformation.update_time
     *
     * @return the value of docinformation.update_time
     *
     * @mbg.generated Thu Mar 07 11:03:43 CST 2019
     */
    public Date getUpdateTime() {
        return updateTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column docinformation.update_time
     *
     * @param updateTime the value for docinformation.update_time
     *
     * @mbg.generated Thu Mar 07 11:03:43 CST 2019
     */
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column docinformation.update_by
     *
     * @return the value of docinformation.update_by
     *
     * @mbg.generated Thu Mar 07 11:03:43 CST 2019
     */
    public String getUpdateBy() {
        return updateBy;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column docinformation.update_by
     *
     * @param updateBy the value for docinformation.update_by
     *
     * @mbg.generated Thu Mar 07 11:03:43 CST 2019
     */
    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy == null ? null : updateBy.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column docinformation.is_active
     *
     * @return the value of docinformation.is_active
     *
     * @mbg.generated Thu Mar 07 11:03:43 CST 2019
     */
    public Boolean getIsActive() {
        return isActive;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column docinformation.is_active
     *
     * @param isActive the value for docinformation.is_active
     *
     * @mbg.generated Thu Mar 07 11:03:43 CST 2019
     */
    public void setIsActive(Boolean isActive) {
        this.isActive = isActive;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column docinformation.version
     *
     * @return the value of docinformation.version
     *
     * @mbg.generated Thu Mar 07 11:03:43 CST 2019
     */
    public Integer getVersion() {
        return version;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column docinformation.version
     *
     * @param version the value for docinformation.version
     *
     * @mbg.generated Thu Mar 07 11:03:43 CST 2019
     */
    public void setVersion(Integer version) {
        this.version = version;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column docinformation.remark
     *
     * @return the value of docinformation.remark
     *
     * @mbg.generated Thu Mar 07 11:03:43 CST 2019
     */
    public String getRemark() {
        return remark;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column docinformation.remark
     *
     * @param remark the value for docinformation.remark
     *
     * @mbg.generated Thu Mar 07 11:03:43 CST 2019
     */
    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column docinformation.file_name
     *
     * @return the value of docinformation.file_name
     *
     * @mbg.generated Thu Mar 07 11:03:43 CST 2019
     */
    public String getFileName() {
        return fileName;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column docinformation.file_name
     *
     * @param fileName the value for docinformation.file_name
     *
     * @mbg.generated Thu Mar 07 11:03:43 CST 2019
     */
    public void setFileName(String fileName) {
        this.fileName = fileName == null ? null : fileName.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column docinformation.original_file_name
     *
     * @return the value of docinformation.original_file_name
     *
     * @mbg.generated Thu Mar 07 11:03:43 CST 2019
     */
    public String getOriginalFileName() {
        return originalFileName;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column docinformation.original_file_name
     *
     * @param originalFileName the value for docinformation.original_file_name
     *
     * @mbg.generated Thu Mar 07 11:03:43 CST 2019
     */
    public void setOriginalFileName(String originalFileName) {
        this.originalFileName = originalFileName == null ? null : originalFileName.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column docinformation.length
     *
     * @return the value of docinformation.length
     *
     * @mbg.generated Thu Mar 07 11:03:43 CST 2019
     */
    public Long getLength() {
        return length;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column docinformation.length
     *
     * @param length the value for docinformation.length
     *
     * @mbg.generated Thu Mar 07 11:03:43 CST 2019
     */
    public void setLength(Long length) {
        this.length = length;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column docinformation.file_suffix
     *
     * @return the value of docinformation.file_suffix
     *
     * @mbg.generated Thu Mar 07 11:03:43 CST 2019
     */
    public String getFileSuffix() {
        return fileSuffix;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column docinformation.file_suffix
     *
     * @param fileSuffix the value for docinformation.file_suffix
     *
     * @mbg.generated Thu Mar 07 11:03:43 CST 2019
     */
    public void setFileSuffix(String fileSuffix) {
        this.fileSuffix = fileSuffix == null ? null : fileSuffix.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column docinformation.business_id
     *
     * @return the value of docinformation.business_id
     *
     * @mbg.generated Thu Mar 07 11:03:43 CST 2019
     */
    public String getBusinessId() {
        return businessId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column docinformation.business_id
     *
     * @param businessId the value for docinformation.business_id
     *
     * @mbg.generated Thu Mar 07 11:03:43 CST 2019
     */
    public void setBusinessId(String businessId) {
        this.businessId = businessId == null ? null : businessId.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column docinformation.file
     *
     * @return the value of docinformation.file
     *
     * @mbg.generated Thu Mar 07 11:03:43 CST 2019
     */
    public byte[] getFile() {
        return file;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column docinformation.file
     *
     * @param file the value for docinformation.file
     *
     * @mbg.generated Thu Mar 07 11:03:43 CST 2019
     */
    public void setFile(byte[] file) {
        this.file = file;
    }
}